package miracle.joker.design.null_object;

public class NullObjectDemo {
    public static void main(String[] args) {
        Animal animal1 = new Dog();
        Animal animal2 = new NullAnimal();

        animal1.makeSound();
        animal2.makeSound();
    }
}
